package Chapter07;

public class Car {
	private String brand;
	private String color;
	private double speed;

	public Car(String brand, String color) {
		super();
		this.brand = brand;
		this.color = color;
		this.speed = 150;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public double getSpeed() {
		return speed;
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}

}
